html {
    min-height: 100%;
    width: 100%;
}

body {
    min-height: 100%;
    width: 100%;
    background-color: #f9f9f9;
    margin: 0 !important;
}

// 修改 vxe-table 高两行样式
.vxe-table--render-default .vxe-body--row.row--checked, .vxe-table--render-default .vxe-body--row.row--radio {
    background-color: #e6f7ff !important;
}
// 修改 vxe-dropdown-button 右边箭头的样式
.vxe-button--dropdown-arrow {
    margin-left: 2px !important;
}
// 修改输入框前置/后置符号样式
.el-input-group__append, .el-input-group__prepend {
    padding: 0 10px !important;
}
.vxe-modal--body-default {
    padding: 0 !important;
}
.vxe-modal--content {
    padding: 10px;
    border-bottom: 1px solid #e8e8e8;
}
.vxe-modal--footer {
    padding: 10px !important;
}

// vxe-table modal
.vxe-modal--box {
    //border-color: var(--el-color-primary) !important;
    .vxe-modal--header {
        border-radius: 2px;
    }
}

// 表格中上的功能按钮
.table-buttons {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 10px;
}


// 每页表格下的分页样式
.page-config {
    padding-top: 10px;
    min-height: 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

// 修改el-confirm 屏幕位置
.el-message-box {
    transform: translateY(-100px);
}

// 数字输入框样式
.is-controls-right {
    .el-input__inner[type=number] {
        text-align: left !important;
    }
}


// 分页样式
.vxe-pager {
    background-color: unset !important;
}

.vxe-pager.size--mini {
    height: unset!important;
}

// 数据统计
.data-viewer {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    border: 1px solid var(--el-color-primary);
    background-color: var(--el-color-primary-light-9);
    margin-bottom: 10px;
    border-radius: 6px;
    .row {
        min-width: 260px;
        padding: 10px;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
        .label {
            font-size: 14px;
            color: #666;
        }
        .value {
            font-weight: bold;
            color: #333;
            font-size: 14px;
            color: var(--el-color-primary);
        }
    }
}

//
.upload-form {
    position: fixed;
    z-index: -1;
    left: 0;
    bottom: 0;
}

// 地图工具条
.map-tool-bar {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.6);
    min-height: 40px;
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 10px 10px 10px 0;
    border-radius: 6px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    .tool-item {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        position: relative;
        .label {
            padding-left: 20px;
            padding-right: 10px;
            font-size: 14px;
            color: #333;
        }
    }
}
.amap-sug-result {
    top: 0;
}

// 简单表格
.low-table {
    box-sizing: border-box;
    width: 100%;
    border-collapse: collapse;
    //border: 1px solid #e8e8e8;
    th {
        padding: 4px;
        border: 1px solid #e0e0e0;
        background: #f9f9f9;
        text-align: center;
    }
    td {
        padding: 4px;
        border: 1px solid #e0e0e0;
        text-align: center;
    }
}


// 滚动条样式
.scroll-bar {
    &::-webkit-scrollbar {
        width: 4px;
    }

    &::-webkit-scrollbar-thumb {
        background: #ccc; // 滑块颜色
        border-radius: 5px; // 滑块圆角
    }

    &::-webkit-scrollbar-thumb:hover {
        background: rgb(77, 148, 244);
    }
}

// 危险提示框
.danger-confirm {
    background-color: var(--el-color-danger) !important;
    border-color: var(--el-color-danger) !important;
    &:active {
        opacity: 0.7;
    }
}

.vxe-table .vxe-cell--sort {
    transform: translateY(-2px);
}

// 打印隐藏
@media print {
    body {
        background: #fff;
    }
    .hide-print {
        display: none;
    }
}

// 全局覆盖 el-tab
.el-tabs--border-card > .el-tabs__content {
    padding: 10px !important;
}